/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.admin.entity.ContractAgree;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 合同协议数据传输对象实体类
 *
 * @author ysq
 * @since 2025-03-27
 */
@Data
public class ContractAgreeDTO {

	private Long id;

	@ApiModelProperty("父协议id")
	private Long parentId;

	@ApiModelProperty("当前页")
	private Integer current;

	@ApiModelProperty("每页的数量")
	private Integer size;

	@ApiModelProperty(value = "协议编号")
	private String agreeNo;


	@ApiModelProperty("客户单位")
	private String customerUnitName;

	@ApiModelProperty(value = "协议开始时间-开始时间")
	private Date beginTime;

	@ApiModelProperty(value = "协议开始时间-结束时间")
	private Date beginTimeEnd;


	@ApiModelProperty(value = "合同结束时间-开始时间")
	private Date endTimeBegin;

	@ApiModelProperty(value = "结束时间")
	private Date endTime;

	@ApiModelProperty(value = "创建时间--开始")
	private Date createTimeBegin;

	@ApiModelProperty(value = "创建时间--结束")
	private Date createTimeEnd;

	@ApiModelProperty("合同编号")
	private String contractNo;

	@ApiModelProperty("项目名称")
	private String buildName;

	@ApiModelProperty(value = "创建人")
	private String createUserName;

	@ApiModelProperty(value = "审核人")
	private String checkUserName;

	@ApiModelProperty(value = "协议状态1:待回签2:待审核3:待生效4:待完结5:合同待回签6:合同已回签7:审核不通过8:已终止9:已作废10:已关闭")
	private Integer agreeStatus;

	private Integer status;


	@ApiModelProperty(value = "1:草稿箱0:否")
	private Boolean isDrafts;

	@ApiModelProperty(value = "电梯id")
	private Long elevatorId;


	@ApiModelProperty("协议id搜索")
	private List<Long> ids;


	@ApiModelProperty("协议id搜索")
	private List<Long> customerUnitIds;


	@ApiModelProperty("合同编号")
	private List<Long> contractIds;


	@ApiModelProperty("合同编号")
	private List<Long> buildingIds;

	private List<Long>  agreeStatuss;
}
